package com.lsh.netty.http.xml;

import io.netty.handler.codec.http.FullHttpResponse;
import lombok.Data;

/**
 * @author ：LiuShihao
 * @date ：Created in 2021/6/9 12:11 下午
 * @desc 响应消息类
 * resutl 就是业务需要发送的应答POJO对象
 */
@Data
public class HttpXmlResponse {
    private FullHttpResponse httpResponse;
    private Object result;

    public HttpXmlResponse(FullHttpResponse fullHttpResponse,Object result){
        this.httpResponse = fullHttpResponse;
        this.result = result;
    }
}
